﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using GzipManagerPro.IO;
using GzipManagerPro.IO.Helpers;
using GzipManagerPro.UI.CommandLine;
using Microsoft.Win32;

namespace GzipManagerPro.UI
{
    static class Program
    {

        [STAThread]
        static void Main(string[] arguments)
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

         
            Application.ThreadException += Application_ThreadException;
            new Parser(arguments).Execute();
            

        }

        private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            //e.Exception.MessageBox();
        }
    }
}
